package com.lx.idgenerator;

import com.lx.idgenerator.lifecycle.IIDGeneratorLifecycle;

/**
 * @author lX
 * @version JDK 8
 * @className IDGenerator (此处以class为例)
 * @date 2024/10/28
 * @description ID生成器接口
 */
public interface IDGenerator extends IIDGeneratorLifecycle {

    /**
     * 根据业务Key生成ID
     * @param bizTag
     * @return
     */
    long genId(String bizTag);

}
